// create container
ALVEOLE.container = ALVEOLE.GUI.createWindow("container","Alveole",document.body);

// create iframe
var screen = ALVEOLE.GUI.getScreen();

ALVEOLE.frame = document.createElement("iframe");
ALVEOLE.frame.src = "http://localhost:8080/alveole/alveole.html" +
	"?width=" + 200 +
	"&height=" + screen.winH;
ALVEOLE.container.appendChild(ALVEOLE.frame);


ALVEOLE.position=function()
{ 
	screen = ALVEOLE.GUI.getScreen();
	ALVEOLE.width=200;
	
	//ALVEOLE.GUI.setDomPosition(ALVEOLE.frame,"relative",0,0,200,screen.winH);
	ALVEOLE.container.window.style.position="fixed";
	ALVEOLE.container.window.style.top="0px";
	ALVEOLE.container.window.style.left=(screen.winW-ALVEOLE.width-2) + "px";
	ALVEOLE.container.window.style.width=ALVEOLE.width + "px";
	ALVEOLE.container.window.style.height=screen.winH + "px";

	ALVEOLE.container.content.style.height=(screen.winH-13) + "px";

	ALVEOLE.frame.style.width=ALVEOLE.width + "px";
	ALVEOLE.frame.style.height=(screen.winH-13)  + "px";


//	ALVEOLE.GUI.setWindowPosition("container","fixed",screen.winW-202,0,200,screen.winH);
};
ALVEOLE.position();

